﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using EventHandler.Libraries.Business.Database;
using EventHandler.Libraries.Business.Security;
using System.Configuration;

namespace EventHandler.UI.Models
{
    public class DatabaseHelper : IDatabaseHelper 
    {
               
        public IDbConnection GetConnection()
        {
            return new SqlConnection(ConfigurationManager.ConnectionStrings["EventHandlerDatabase"].ConnectionString);
        }
    }
}
